/**
 * 
 */
package com.ekingstar.framework.app;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.event.ContextStartedEvent;

/**
 * 
 *
 */
public class ApplictionStartupListener implements ApplicationListener {

	/* (non-Javadoc)
	 * @see org.springframework.context.ApplicationListener#onApplicationEvent(org.springframework.context.ApplicationEvent)
	 */
	public void onApplicationEvent(ApplicationEvent event) {
		// TODO Auto-generated method stub
		if (event instanceof ContextRefreshedEvent ||event instanceof  ContextStartedEvent){
			//账户,用户，权限初始化，从统一身份认证数据库同步到本地数据库
			
		}

	}

}
